Skip to content

[Snyk] Security upgrade tar-fs from 3.0.6 to 3.1.1#532

Open
ISGA wants to merge 1 commit intomainfrom
snyk-fix-240e50ac9f2cb26f5356c6577f0caef7
Open

[Snyk] Security upgrade tar-fs from 3.0.6 to 3.1.1#532
ISGA wants to merge 1 commit intomainfrom
snyk-fix-240e50ac9f2cb26f5356c6577f0caef7

Conversation

@ISGA
Copy link
Copy Markdown
Owner

@ISGA ISGA commented Dec 28, 2025

User description

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the pnpm dependencies of this project.

Snyk changed the following file(s):

  • js/apps/keycloak-server/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Symlink Attack
SNYK-JS-TARFS-9535930
  307  
high severity Improper Link Resolution Before File Access ('Link Following')
SNYK-JS-TARFS-10293725
  165  
medium severity Symlink Following
SNYK-JS-TARFS-13045213
  78  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Improper Link Resolution Before File Access ('Link Following')


CodeAnt-AI Description

Upgrade tar-fs in keycloak-server to fix high-severity symlink vulnerabilities

What Changed

  • Updated the tar-fs dependency in js/apps/keycloak-server/package.json from 3.0.6 to 3.1.1
  • Resolves three security issues related to symlink attacks and improper link resolution during archive extraction
  • No changes to user-facing features or server start/delete scripts

Impact

✅ Fewer high-severity vulnerabilities in dependency tree
✅ Lower risk of symlink-based exploits during package extraction
✅ Safer local development and CI runs that install keycloak-server dependencies

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Dec 28, 2025

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@amplify-security
Copy link
Copy Markdown
Contributor

🔍 Amplify code check status:   status looks good

⚠️ 0 issues detected in   📄 1 file and   ❇️ 2 lines of code   🛠️ using Opengrep

Last updated by commit a874a39 at 2025-12-28 11:04:11 UTC.

@codeant-ai codeant-ai bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Dec 28, 2025
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Dec 28, 2025

Sequence Diagram

The PR bumps tar-fs in js/apps/keycloak-server/package.json from 3.0.6 to 3.1.1 to remediate multiple symlink/link-following vulnerabilities. It also leaves a note that the lockfile must be updated manually before merging.

sequenceDiagram
    participant Snyk
    participant Repository
    participant Maintainer

    Snyk->>Repository: Create PR updating package.json (tar-fs 3.0.6 -> 3.1.1)
    Repository-->>Maintainer: PR opened with vulnerability fixes
    Maintainer->>Repository: Update pnpm-lock.yaml manually (required)
    Maintainer->>Repository: Merge PR
    Repository-->>Maintainer: Project uses tar-fs@3.1.1 (vulnerabilities fixed)
Loading

Generated by CodeAnt AI

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​vite-plugin-checker@​0.8.0901007590100

View full report

@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Dec 28, 2025

CodeAnt AI finished reviewing your PR.

@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Dec 28, 2025

💡 Enhance Your PR Reviews

We noticed that 3 feature(s) are not configured for this repository. Enabling these features can help improve your code quality and workflow:

🚦 Quality Gates

Status: Quality Gates are not enabled at the organization level
Learn more about Quality Gates

🎫 Jira Ticket Compliance

Status: Jira credentials file not found. Please configure Jira integration in your settings
Learn more about Jira Integration

⚙️ Custom Rules

Status: No custom rules configured. Add rules via organization settings or .codeant/review.json in your repository
Learn more about Custom Rules


Want to enable these features? Contact your organization admin or check our documentation for setup instructions.

@zeropath-ai
Copy link
Copy Markdown

zeropath-ai bot commented Dec 28, 2025

No security or compliance issues detected. Reviewed everything up to a874a39.

Security Overview
Detected Code Changes
Change Type Relevant files
Other ► js/apps/keycloak-server/package.json
    Update tar-fs dependency to ^3.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants